package cn.kane.visitor;

public class StringElement implements IElement {

	private String value ;
	
	public StringElement(String value){
		this.value = value ;
	}
	
	@Override
	public void accept(IVisitor visitor) {
		visitor.stringVisitor(this);
	}

	@Override
	public Object getValue() {
		return this.value;
	}

}
